package org.jeecg.modules.htxincailiao.ability.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: ht_supply_demand
 * @Author: jeecg-boot
 * @Date:   2024-07-12
 * @Version: V1.0
 */
@Data
@TableName("ht_supply_demand")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ht_supply_demand对象", description="ht_supply_demand")
public class HtSupplyDemand implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**供需类型(字典：demand_type生产加工,检验检测,场地租赁,金融服务)*/
	@Excel(name = "供需类型(字典：demand_type生产加工,检验检测,场地租赁,金融服务)", width = 15)
    @ApiModelProperty(value = "供需类型(字典：demand_type生产加工,检验检测,场地租赁,金融服务)")
    @Dict(dicCode = "demand_type")
    private String demandType;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sort;
	/**首页排序*/
	@Excel(name = "首页排序", width = 15)
    @ApiModelProperty(value = "首页排序")
    private Integer homeSort;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String name;
	/**副标题*/
	@Excel(name = "副标题", width = 15)
    @ApiModelProperty(value = "副标题")
    private String subname;
	/**主图*/
	@Excel(name = "主图", width = 15)
    @ApiModelProperty(value = "主图")
    private String cover;
	/**概述*/
	@Excel(name = "概述", width = 15)
    @ApiModelProperty(value = "概述")
    private String overview;
	/**详细描述*/
	@Excel(name = "详细描述", width = 15)
    @ApiModelProperty(value = "详细描述")
    private String content;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String attachments;
	/**企业*/
	@Excel(name = "企业", width = 15)
    @ApiModelProperty(value = "企业")
    @Dict(dictTable = "ht_merchant", dicCode = "id", dicText = "enterprise_name")
    private String enterprise;
	/**加工类型（字典）*/
	@Excel(name = "加工类型（字典）", width = 15)
    @ApiModelProperty(value = "加工类型（字典）")
    @Dict(dicCode = "manufacturing_type")
    private String manufacturingType;
	/**范围*/
	@Excel(name = "范围", width = 15)
    @ApiModelProperty(value = "范围")
    private String scope;
	/**标签*/
	@Excel(name = "标签", width = 15)
    @ApiModelProperty(value = "标签")
    private String tag;
	/**物业类型（字典property_type）*/
	@Excel(name = "物业类型（字典property_type）", width = 15)
    @ApiModelProperty(value = "物业类型（字典property_type）")
    @Dict(dicCode = "property_type")
    private String propertyType;
	/**租售状态（字典sales_status）*/
	@Excel(name = "租售状态（字典sales_status）", width = 15)
    @ApiModelProperty(value = "租售状态（字典sales_status）")
    @Dict(dicCode = "sales_status")
    private String salesStatus;
	/**价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
	/**申请主体（字典application_subject）*/
	@Excel(name = "申请主体（字典application_subject）", width = 15)
    @ApiModelProperty(value = "申请主体（字典application_subject）")
    @Dict(dicCode = "application_subject")
    private String applicationSubject;
	/**担保方式（字典guarantee_method）*/
	@Excel(name = "担保方式（字典guarantee_method）", width = 15)
    @ApiModelProperty(value = "担保方式（字典guarantee_method）")
    @Dict(dicCode = "guarantee_method")
    private String guaranteeMethod;
	/**贷款额度(万)min*/
	@Excel(name = "贷款额度(万)min", width = 15)
    @ApiModelProperty(value = "贷款额度(万)min")
    private Integer loanLimitMin;
	/**贷款额度(万)max*/
	@Excel(name = "贷款额度(万)max", width = 15)
    @ApiModelProperty(value = "贷款额度(万)max")
    private Integer loanLimitMax;
	/**贷款期限(月)min*/
	@Excel(name = "贷款期限(月)min", width = 15)
    @ApiModelProperty(value = "贷款期限(月)min")
    private Integer loanTermMin;
	/**贷款期限(月)max*/
	@Excel(name = "贷款期限(月)max", width = 15)
    @ApiModelProperty(value = "贷款期限(月)max")
    private Integer loanTermMax;
	/**年化利率(%)min*/
	@Excel(name = "年化利率(%)min", width = 15)
    @ApiModelProperty(value = "年化利率(%)min")
    private Double interestRateMin;
	/**年化利率(%)max*/
	@Excel(name = "年化利率(%)max", width = 15)
    @ApiModelProperty(value = "年化利率(%)max")
    private Double interestRateMax;

    @ApiModelProperty(value = "联系方式")
    private String contactInfo;

    @ApiModelProperty(value = "跳转地址")
    private String jumpUrl;

    /**是否为首页推荐 0-不推荐 1-推荐*/
	@Excel(name = "是否为首页推荐 0-不推荐 1-推荐", width = 15)
    @ApiModelProperty(value = "是否为首页推荐 0-不推荐 1-推荐")
    private Integer isHomeRecommended;
	/**状态：0-未审核 1-审核中 2-已通过 3-已驳回*/
	@Excel(name = "状态：0-未审核 1-审核中 2-已通过 3-已驳回", width = 15)
    @ApiModelProperty(value = "状态：0-未审核 1-审核中 2-已通过 3-已驳回")
    @Dict(dicCode = "audit_status")
    private Integer auditStatus;
	/**审批意见*/
	@Excel(name = "审批意见", width = 15)
    @ApiModelProperty(value = "审批意见")
    private String auditComments;
	/**逻辑删除：0-未删除,1-删除。*/
	@Excel(name = "逻辑删除：0-未删除,1-删除。", width = 15)
    @ApiModelProperty(value = "逻辑删除：0-未删除,1-删除。")
    private Integer isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**SEO关键字*/
	@Excel(name = "SEO关键字", width = 15)
    @ApiModelProperty(value = "SEO关键字")
    private String seoKeywords;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String seoDescription;
	/**点击量*/
	@Excel(name = "点击量", width = 15)
    @ApiModelProperty(value = "点击量")
    private Integer clickCount;

    @TableField(exist = false)
    private Integer pageNo=1;

    @TableField(exist = false)
    private Integer pageSize=10;


    @ApiModelProperty(value = "成立时间")
    @TableField(exist = false)
    private String establishedTime;

    @ApiModelProperty(value = "主要品牌")
    @TableField(exist = false)
    private String 	mainBrands;

    @ApiModelProperty(value = "主营业务")
    @TableField(exist = false)
    private String mainProducts;

    @ApiModelProperty(value = "注册资本")
    @TableField(exist = false)
    private String registeredCapital;

    @ApiModelProperty(value = "星级")
    @TableField(exist = false)
    private Integer starRating;

}
